package com.huawang.mdesign.model.service.request;

import com.huawang.business.constants.ParamErrorConstants;
import io.swagger.v3.oas.annotations.media.Schema;
import com.huawang.business.dto.ProjectIdDTO;
import com.huawang.business.dto.project.ModelDependency;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

@Data
@Schema(description = "bpmn xml 请求参数")
public class ProjectCreateDTO extends ProjectIdDTO {
    @NotEmpty(message = ParamErrorConstants.NO_PROJECT_ID)
    @Schema(title = "项目id")
    private String projectId;

    @NotEmpty(message = ParamErrorConstants.NO_PROFILE_LIB_PATH)
    @Schema(title = "扩展库文件夹路径")
    private String profileLibPath;

    @Schema(title = "项目类型：默认Model, 模型库ModelLibrary")
    private String projectType;

    @Schema(title = "项目规范：UAF,DoDAF和SysML")
    private String projectSpecification;

    @Schema(title = "项目数据默认保存目录")
    private String defaultSaveDir;

    private List<ModelDependency> customizationProfiles;
}
